Experiments with a Real Parallel Attribute Evaluator
نویسندگان
چکیده
We present a simple but eeective method for constructing eecient attribute evaluators for the class of l-ordered attribute grammars that run on tightly-coupled (shared-memory) multi-processor machines. We also give an account of how we implemented this method in practice. Lastly, we give some gures drawn from realistic experiments, i.e. actual implementation of parallel evaluators for meaningful AGs and their runs on meaningful source texts. The results we have obtained are quite satisfactory, since we observe a quasi-linear speedup with a number of processors varying up to a reasonable number, while the performance with one processor is already quite acceptable.
منابع مشابه
Coupling Evaluators for Attribute Coupled Grammars
Some years ago, the notion of attribute coupled grammars was introduced by Ganzinger and Giegerich 4], together with descrip-tional composition. The latter works essentially at the speciication level, i.e., it produces an attribute grammar which speciies the composition of two attribute coupled grammars. We introduce a new approach to this composition of attribute coupled grammars. This composi...
متن کاملUsing an Evaluator Fixed Structure Learning Automata in Sampling of Social Networks
Social networks are streaming, diverse and include a wide range of edges so that continuously evolves over time and formed by the activities among users (such as tweets, emails, etc.), where each activity among its users, adds an edge to the network graph. Despite their popularities, the dynamicity and large size of most social networks make it difficult or impossible to study the entire networ...
متن کاملParallel Attribute Grammar Evaluation
This paper reports on experiments with parallel compila tion of programming languages In order to take advantage of the potential parallelism we express the language trans lation process as an attribute grammar evaluation problem We see three primary bene ts to using attribute grammars First since attribute grammars provide a functional speci cation of the language translation process they are ...
متن کاملFTL: Synthesizing a Parallel Layout Engine
Visual layout languages are important for running web browsers on mobile devices, but they are difficult to design, implement, and optimize. Our solution is the Fast Tree Language (FTL) layout engine generator. Given an attribute grammar defining the language’s semantics and layout instances to profile, FTL outputs the first strongly scaling parallel layout engine. Parallelizing the small tree ...
متن کاملStatic and Dynamic Coupling Attribute Evaluators
Several years ago, the notion of attribute coupled grammars was introduced by Ganzinger and Giegerich 5], together with their descriptional composition. The latter works essentially at the speciication level, i.e., it produces an attribute grammar which speciies the composition of two attribute coupled grammars. We introduce a new approach to this composition of attribute coupled grammars. It n...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007